#include "OrthoParser.h"

OrthoParser::OrthoParser(void)
{
}

OrthoParser::~OrthoParser(void)
{
}

OrthoParser::OrthoParser(string id, float near,float far,float left,float right,float top,float bottom){
	this->id = id;
	this->near = near;
	this->far = far;
	this->left = left;
	this->right = right;
	this->top = top;
	this->bottom = bottom;
}

void OrthoParser::applyView(){
	glOrtho(left*xy_aspect,right*xy_aspect,bottom,top,near,far);
}